/*
 * Copyright 2007 National Bioinformatics Network
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package dgbCORBA;

/**
* dgbCORBA/iFunctionalHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from dgbCORBA.idl
* Monday, April 23, 2007 5:44:45 PM SAST
*/


/* The functional interface provides caching and lookup services.  This interface is simpler
     because it doesn't require the caller to dynamically examine the return type in order to
     determine return types.  Use this interface for lookup of data types, attribute types,
     concept types, etc.  The interface is also available under the iQuery interface but will
     need the return types to be dynamically unmarshalled by the caller at runtime. */
public final class iFunctionalHolder implements org.omg.CORBA.portable.Streamable
{
  public dgbCORBA.iFunctional value = null;

  public iFunctionalHolder ()
  {
  }

  public iFunctionalHolder (dgbCORBA.iFunctional initialValue)
  {
    value = initialValue;
  }

  public void _read (org.omg.CORBA.portable.InputStream i)
  {
    value = dgbCORBA.iFunctionalHelper.read (i);
  }

  public void _write (org.omg.CORBA.portable.OutputStream o)
  {
    dgbCORBA.iFunctionalHelper.write (o, value);
  }

  public org.omg.CORBA.TypeCode _type ()
  {
    return dgbCORBA.iFunctionalHelper.type ();
  }

}
